/*
 *  Copyright (c) 2019-2020, somewhere (somewhere0813@gmail.com).
 *  <p>
 *  Licensed under the GNU Lesser General Public License 3.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  <p>
 * https://www.gnu.org/licenses/lgpl.html
 *  <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.shanhesoft.java.modules.exam.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.shanhesoft.java.common.persistence.domain.IdEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * <p>
 * 菜单权限表
 * </p>
 *
 * @author somewhere
 * @since 2019/2/1
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ExaminationRecordVo extends IdEntity<ExaminationRecordVo> {
	private static final long serialVersionUID = 1L;

	/** userId 用户ID */@NotBlank @Size(max=50)
	@TableField("user_id")
	private String userId;

	@TableField("username")
	private String userName;

	@TableField("nickname")
	private String nickName;

	/** paperId 试卷ID */@NotBlank @Size(max=50)
	@TableField("paper_id")
	private String paperId;

	@TableField("paper_name")
	private String paperName;

	@TableField("paper_type")
	private String paperType;

	/** startTime 开始时间 */
	@TableField("start_time")
	private Date startTime;
	/** endTime 结束时间 */
	@TableField("end_time")
	private Date endTime;

	/** 考试持续时间 */
	private String duration;

	/** score 成绩 */
	private Long score;
	/** correctNumber 正确题目数量 */
	@TableField("correct_number")
	private Long correctNumber;
	/** incorrectNumber 错误题目数量 */
	@TableField("incorrect_number")
	private Long incorrectNumber;
	/** submitStatus 提交状态 */
	@TableField("submit_status")
	private Integer submitStatus;

}
